package com.learn.egmvc4.base.response;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum StatusCode {
    OPERATION_SUCCESS(5000,"操作成功"),
    OPERATION_FAILED(6000,"操作失败"),
    THROWABLE_ERROR(8888,"未知异常"),
    VALIDATION_ERROR(7000,"参数校验失败");
    private Integer state;
    private String message;
}
